package vn.edu.saigontech.ncms.web.teacher.report.haftmonth;

import java.util.Date;


public class OfferingTeachingDetailRow {

	private String name;
	private Date startDate;
	private Date endDate;
	private int totalHours;
	private int totalSessions;

	public OfferingTeachingDetailRow(String name, Date startDate, Date endDate, int totalHours, int totalSessions) {
		this.name = name;
		this.startDate = startDate;
		this.endDate = endDate;
		this.totalHours = totalHours;
		this.totalSessions = totalSessions;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public int getTotalHours() {
		return totalHours;
	}

	public void setTotalHours(int totalHours) {
		this.totalHours = totalHours;
	}
	
	public int getTotalSessions() {
		return totalSessions;
	}

	public void setTotalSessions(int totalSessions) {
		this.totalSessions = totalSessions;
	}
	
	public void increaseTotalSessionsBy(int number) {
		this.totalSessions++;
	}
}